import {createI18n} from 'vue-i18n'
import en from './local/en'
import tc from './local/tc'
import zh from './local/zh'



const message = {
    en,
    tc,
    zh
}
const i18n = createI18n({
    legacy:false,
    // locale:'zh',
    locale:localStorage.getItem('lang') || 'zh',
    message
})


export default i18n